From c9ed10f6f5653c3ce888a7f106c6a231a84f6521 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Fri, 28 May 1993 04:52:55 +0000 Subject: [PATCH] * configure.in: If srcdir is '.', then try using PWD to make it absolute. * configure.in: Include ${srcdir} in the printed report, to help people notice if it's an automounter path. --- configure1.in | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configure1.in b/configure1.in index 84f8846d568..f470b1e7c0f 100755 --- a/configure1.in +++ b/configure1.in @@ -333,6 +333,14 @@ esac #### give you automounter prefixes, which can go away. case "${srcdir}" in /* ) ;; + . ) + ## We may be able to use the $PWD environment variable to make this + ## absolute. But sometimes PWD is inaccurate. + if [ "${PWD}" != "" ] && [ "`(cd ${PWD} ; pwd)`" = "`pwd`" ] ; then + srcdir="$PWD" + else + srcdir="`(cd ${srcdir}; pwd)`" + ;; * ) srcdir="`(cd ${srcdir}; pwd)`" ;; esac @@ -1113,6 +1121,7 @@ echo " Configured for \`${configuration}'. + Where should the build process find the source code? ${srcdir} What operating system and machine description files should Emacs use? \`${opsysfile}' and \`${machfile}' What compiler should emacs be built with? ${CC} ${CFLAGS} -- 2.30.2